var mongoose = require('mongoose')

var schema = require('../config/schema')
var sysConfigSchema = mongoose.Schema(schema.sysConfig)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

sysConfigSchema.set('toJSON', {
    getters: true,
})
var SysConfigModel = mongoose.model('sysConfig', sysConfigSchema)

module.exports = SysConfigModel;